package com.yxuan.springboot.service;

import com.yxuan.springboot.model.UserVip;
import com.yxuan.springboot.util.Result;

import java.util.List;

/**
 * @author zchao
 * UserVip业务层接口
 * @date 2023-05-09 08:56:34
 */
public interface UserVipService extends BaseService<UserVip> {


    Result updateVipByPay(int userId, String goodsName) throws Exception;

    List<UserVip> findAllVips() throws Exception;

    List<UserVip> findAllPoors() throws Exception;



    //重置每个等级会员用户的修改个人信息次数
    Integer updVipUpdInfoNum(Integer userId, int vipRank) throws Exception;

    //查询各个等级的会员集合
    List<UserVip> findVipsByCondition(String vipRank) throws Exception;

}
